package com.qf.threestagekaohe.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Dictionary implements Serializable {
    @ExcelProperty(index = 0,value = "ID")
    private Integer id;
    @ExcelProperty(index = 1,value = "字典名称")
    private String name;
    @ExcelProperty(index = 2,value = "字典类型")
    private String type;
    @ExcelProperty(index = 3,value = "字典状态")
    private String status;
    @ExcelProperty(index = 4,value = "字典备注")
    private String comment;
    @ExcelProperty(index = 5,value = "字典创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;
    @ExcelIgnore
    private Integer isDelete;
    @ExcelIgnore
    private String sid;
}
